/*
 * @Descripttion: 注册接口
 * @version: 
 * @Author: Bruce
 * @Date: 2020-06-01 11:23:02
 * @LastEditors: Bruce
 * @LastEditTime: 2020-06-01 11:25:40
 */ 

import { ajaxPost } from "@/utils/request.js"

// 发送邮箱验证码
export function sendCode(data){
    const url = "sendCode"
    return ajaxPost(url,data)
}

// 用户注册
export function register(data){
    const url = "register"
    return ajaxPost(url,data)
}
